package com.yxh.pojo.tree;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 32988 on 2018/5/15.
 */
public class BaseTreeGrid implements Serializable {
    private static final long serialVersionUID = -9189631784252440402L;

    public String id;//节点id

    public String parentId;//节点父id

    public String parentName;

    public String title;

    public String name;

    public String isDept;

    public Integer roles;

    public boolean checkeds;

    public List<BaseTreeGrid> children;//孩子节点

    public List<BaseTreeGrid> getChildren() {
        return children;
    }

    public void setChildren(List<BaseTreeGrid> children) {
        this.children = children;
    }

    public BaseTreeGrid() {

    }


    public boolean isCheckeds() {
        return checkeds;
    }

    public void setCheckeds(boolean checkeds) {
        this.checkeds = checkeds;
    }

    public Integer getRoles() {
        return roles;
    }

    public void setRoles(Integer roles) {
        this.roles = roles;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public BaseTreeGrid(String id, String parentId) {
        this.id = id;
        this.parentId = parentId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIsDept() {
        return isDept;
    }

    public void setIsDept(String isDept) {
        this.isDept = isDept;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }
}
